/**
 * Copyright (c) 2011 eelpo.com
 * All rights reserved.
 */
package com.eelpo.common.query.expression;

/**
 * <pre>
 * 
 * 表达式基类
 * 
 * </pre>
 * 
 * @author <a href="mailto:Brian@eelpo.com">汪洪州</a>
 * @since 1.0
 */
public interface Criterion {

	public static final String NE = " <> ";

	public static final String EQ = " = ";

	public static final String GE = " >= ";

	public static final String GT = " > ";

	public static final String LE = " <= ";

	public static final String LT = " < ";

	public static final String OR = " OR ";

	public static final String AND = " AND ";

	public static final String LIKE = " LIKE ";

	public static final String NOTLIKE = " NOT LIKE ";

	public static final String IN = " IN ";

	public static final String NOTIN = " NOT IN ";

	public static final String EXISTS = "EXISTS ";

	public static final String NOTEXISTS = " NOT EXISTS ";

	public static final String ISNULL = " IS NULL";

	public static final String ISNOTNULL = " IS NOT NULL";

	public static final String ISEMPTY = " IS EMPTY";

	public static final String ISNOTEMPTY = " IS NOT EMPTY";

	public static final String MEMBEROF = " MEMBER OF ";

	public static final String NOTMEMBEROF = " NOT MEMBER OF ";

	public static final String PLACEHOLDER = "?";

	public static final String BETWEEN = " BETWEEN ? and ?";

	public static final String NOTBETWEEN = " NOT BETWEEN ? and ?";

	public static final String ILIKEPLACEHOLDER = "UPPER(?)";

	public static final String ASC = " ASC";

	public static final String DESC = " DESC";

	public static final String COUNT = "COUNT";

	public static final String DISTINCT = "DISTINCT";

	public static final String LEFTJOIN = " LEFT JOIN ";

	public static final String LEFTJOINFETCH = "  LEFT JOIN FETCH ";

	public static final String JOIN = " INNER JOIN ";

	public static final String JOINFETCH = " INNER JOIN FETCH ";
}
